package com.woniuxy.dao;

import com.github.pagehelper.PageInfo;
import com.woniuxy.entity.Member;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
/**
 * Auther: X  <br/>
 * Date: 2021/2/24:15:57  <br/>
 * Description:使用注解查询分页功能
 */
@Mapper


public interface ManagerDao {
//    @Select("select * from member")
    List<Member> selectAllMes();
    List<Member> selectLike(String name);
    String selectByAccount(String account);

    /**
     * Description : 查询单个member  <br/>
     * ChangeLog : 1. 创建 (2021/2/25 15:50 [YH]);
     * @param id
     * @return com.woniuxy.entity.Member
     **/
    Member selectOne(int id);
}
